package leetCode;

import java.util.ArrayDeque;
import java.util.Deque;
import java.util.Scanner;

public class CCF_CSP {
    //202104-1
    public static void main(String[] args) {
        Deque<Integer> path = new ArrayDeque<>();
        path.addLast(1);
        path.addLast(2);
        path.addLast(3);
        System.out.println(path.toString());
        path.removeLast();
        System.out.println(path.toString());
    }
}
